package com.example.adms.message.service;

import com.example.adms.message.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hyt
 * @since 2023-04-24
 */
public interface MessageService extends IService<Message> {

    Map<String, Integer> hasEvent(String userId);

    boolean clearUnreadMsg(String userId);
}
